<!--<?php
print <<<EOT
-->

<td valign="top">
<table width="100%"  border="0" cellspacing="10" cellpadding="0">
<tr>
<td align="left" valign="top">


<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="25" valign="top" class="ytitle">Promoter Account</td>
  </tr>
  <tr>
    <td align="left" valign="top" >{$promoter_menu_str}</td>
  </tr>
  <tr>
    <td align="left" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td align="left" valign="top"><table width="100%"  border="0" cellspacing="2" cellpadding="0">
        <tr>
          <td width="31%" height="25" align="left" class="title03">Commission Paid</td>
        </tr>
        <tr>
          <td><table width="100%"  border="0" cellspacing="1" cellpadding="5">
              <tr align="center" bgcolor="#b5c3d6">
                <td bgcolor="#b5c3d6" class="white8">Payment No.</td>
                <td bgcolor="#b5c3d6" class="white8">Payment Date</td>
                <td bgcolor="#b5c3d6" class="white8">Cost</td>
                <td bgcolor="#b5c3d6" class="white8">Amount</td>
                </tr>
              
<!--
EOT;
foreach ($commission_ary as $k=>$v) {  
$v['cost']=number_format($v['cost'],2,".","");
$v['commission']=number_format($v['commission'],2,".",""); 
print <<<EOT
-->                
              
              <tr align="center" bgcolor="#e0e7ee">
                <td bgcolor="#e0e7ee" >{$v['id']}</td>
                <td bgcolor="#e0e7ee" >{$v['pay_date']}</td>
                <td bgcolor="#e0e7ee" >DKK {$v['cost']}</td>
                <td bgcolor="#e0e7ee" >DKK {$v['commission']}</td>
                </tr>
              
<!--
EOT;
}
print <<<EOT
-->                
              
            </table></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="2" cellpadding="0">
        <tr>
          <td width="33%">&nbsp;</td>
          <td width="67%">&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top" >&nbsp;</td>
          <td align="left" valign="top" >&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top" >Accumulated Commission :</td>
          <td align="left" valign="top" >DKK {$ac}</td>
        </tr>
        <tr>
          <td align="left" valign="top" >&nbsp;</td>
          <td align="left" valign="top" >&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top" >Commission Paid :</td>
          <td align="left" valign="top" >DKK {$cp}</td>
        </tr>
        <tr>
          <td align="left" valign="top" >&nbsp;</td>
          <td align="left" valign="top" >&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top" >Commission Outstanding :</td>
          <td align="left" valign="top" >DKK {$co}</td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="90" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top" bgcolor="#B5C3D6"><table width="100%"  border="0" cellspacing="5" cellpadding="0">
              <tr>
                <td align="left" valign="top"><span class="whitefonti">When 
                  you choose to receive products and/or 
                  courses/training with Acuity World for 
                  commission, we double your commission.</span>
                  <p><a href="index.php"><span class="whitefont"><strong>Click</strong></span></a> <span class="whitefonti">to order training/products for accumulated commission</span></p></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>

</table>



</td>
</tr>
</table>
</td>

<!--
EOT;
?>-->